'use strict';

var React = require("react");

var BaseLayout = require("../layout/BaseLayout");
var AMUIReact = require('amazeui-react');

var Panel = AMUIReact.Panel;

var NotFoundModule = React.createClass({
    componentDidMount: function () {
        document.body.style["background-color"] = "#fafafa";
    },
    componentWillUnmount: function () {
        document.body.style["background-color"] = "";
    },
    render: function () {
        var _this_404 = (
            <div style={{width:"750pt",margin:"50pt auto 20pt"}}>
                <Panel header="Something error!" amStyle="warning">
                    oops, Not Found Page!
                </Panel>
            </div>
        );
        return (
            <BaseLayout>
                {_this_404}
            </BaseLayout>
        );
    }
});

module.exports = NotFoundModule;
